var limsOutsourcersProductMain = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {index: true},{
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTNAME'
        }, {
            field : 'productType',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTTYPE'
        }, {
            field : 'standardCycle',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.STANDARDCYCLE'
        }, {
            field : 'activedFlag',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.ACTIVEDFLAG'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTCODE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTNAME',
            validators : [ 'strLength[0,40]' ]
        }, {
            field : 'productType',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.PRODUCTTYPE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'standardCycle',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.STANDARDCYCLE',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'activedFlag',
            title : 'T_LIMS_OUTSOURCERS_PRODUCT_MAIN.ACTIVEDFLAG',
            validators : [ 'strLength[0,1]' ]
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/business/outsourcers-product-mains'
});
